export const useTableConfig = () => {
  return {
    propList: [
      { prop: 'name', label: '商品名称', 'min-width': '80', slotName: 'name' },
      { prop: 'oldPrice', label: '原价格', 'min-width': '100', slotName: 'oldPrice' },
      { prop: 'newPrice', label: '现价格', 'min-width': '120', slotName: 'newPrice' },
      { prop: 'imgUrl', label: '商品图片', 'min-width': '100', slotName: 'imgUrl' },
      { prop: 'status', label: '状态', 'min-width': '100', slotName: 'status' },
      { prop: 'createAt', label: '创建时间', 'min-width': '200', slotName: 'createAt' },
      { prop: 'updateAt', label: '更新时间', 'min-width': '200', slotName: 'updateAt' },
      { prop: 'operate', label: '', 'min-width': '140', slotName: 'operate' }
    ],
    showSelectColumn: true,
    showIndexColumn: true,
    title: '商品列表'
  }
}
